package kind

import (
	"github.com/labstack/echo"
)

type OXYProductKindData interface {
	GetProductKindListHandler(c echo.Context) error
	AddProductKindHandler(c echo.Context) error
	UpdateProductKindHandler(c echo.Context) error
	DelProductKindHandler(c echo.Context) error
}

func New(e int) OXYProductKindData {
	switch e {
	case 1:
		Data := NewOXYProductData()
		return Data
	case 2:
		Data := OXYProductData()
		return Data
	}
	return nil
}
